# serializers.py
from rest_framework import serializers
from .models import ClassroomMember, TestpaperResult

class ClassroomMemberSerializer(serializers.ModelSerializer):
    class Meta:
        model = ClassroomMember
        fields = ('classroom_id', 'user_id')

'''
class TestpaperResultSerializer(serializers.ModelSerializer):
    class Meta:
        model = TestpaperResult
        fields = ('userId', 'courseId', 'score')'''